<div ng-controller='IncomeCompany' class='right-cont'>
    <div class='title'>
        <i class='fa fa-list-ul'></i>
        平台收入{{test}}
    </div>

    <div class='box-cont'>
        <div>

            <div class='input-group input-group-xs pull-right radius' style="margin-right: 10px;">

                    <span class='input-group-addon' style='border-right:none'>
                        <i class='fa fa-calculator'></i>
                    </span>
                <input type='text' class='form-control input-w-xs date' ng-model='startDate' style="width: 150px">
                <span class='input-group-addon' style='border-left:none;border-right:none'>至</span>
                <input type='text' class='form-control input-w-xs date' ng-model='endDate'  style="width: 150px">
                <span class='input-group-btn'>
                    <button class='btn btn-success radius' ng-click='search_data()'>搜索</button>
                </span>
            </div>

        </div>
        <div class="member-index-tab">
            <div style="line-height: 40px;">收入记录</div>
            <hr style="margin-top: 5px;">
        </div>
        <table class='table table-list wrap-checkbox'>
            <tr class="abcd">
                <td class="member-th-sort" ng-click="toggle(1)">用户ID<i ng-if="sortName == 1"
                                                                       class="fa fa-sort-{{sortIcon}}"></i></td>
                <td>用户昵称</td>
                <td>角色类型 </td>
                <td>利润 </td>
                <td>下级人数 </td>
            </tr>
            <tr ng-repeat='money in moneyList'>
                <td >{{money.id}}</td>
                <td >{{money.user_id}}</td>
                <td class="members-index-userName" ng-click="seeDetails(user.id,user.role_id,user.nextall)">{{money.nickname}}</td>
                <td><span class="score-index-num">{{money.name}}</span></td>
                <td><span class="score-index-num">{{money.price}}</span></td>
                <td><span class="score-index-num">{{money.money_amount}}</span></td>
                <td>{{money.money_amount-money.deduct}}</td>
                <td>{{money.trade_no}}</td>
                <td>{{money.achive_time_txt}}</td>
            </tr>
        </table>

        <div class='box-page' ng-bind-html='pages'></div>

        <!--图标测试-->
        <!--<div id="main" style="width: 600px;height:400px;"></div>-->

    </div>

</div>